using System;
using System.Collections.Generic;
using System.Text;

namespace ElteIk.RoboSoccer.Core
{
	public class SoccerTeam
	{
        private int id;
        public int Id
        {
            get { return id; }
			set { id = value; }
        }	

		private List<IPlayer> players = new List<IPlayer>(5);

		public List<IPlayer> Players
		{
			get
			{
				return players;
			}
		}

        public virtual void AddPlayer(IPlayer player)
        {
            players.Add(player);
        }

        public SoccerTeam(int id)
        {
            this.id = id;
        }
	}
}
